package com.huwaiwai.array;


import java.util.Arrays;
import java.util.List;

/**
 * Created by hww on 2018/1/7 下午8:58.
 */
public class Test {

    public static void main(String [] a) {
        String [] str1 = new String[10];
        str1[2] = "2";
        System.out.println(str1.length);
        str1 = Arrays.copyOf(str1, 1);
        System.out.println(str1[0]);
        List list = new MyArrayList<>();
    }
}
